#pragma once
#include ".\..\orbit\DateTime.h"
#include <iostream>
#include <fstream>
#include <string>

const int maxApYear = 2019;
const int minApYear = 1950;
const int lineLength = 72;
const int apStartPos = 31;

///get a line of ap values in year-month-day
void getApLine(DateTime& t, double ap[9]);
//get daily averaged ap value
double getDailyAp(int year, int month, int day);
//get ap array used in calculation of atmospheric density
void getApArray(DateTime t, double *apArray);
